package com.xmut.mall.member.feign;

import com.xmut.mall.member.utils.RespBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("mall-ware")
public interface WareFeignService {

    /**
     * 获取sku的库存详情
     * @param skuId
     * @return
     */
    @GetMapping("/ware/waresku/getSkuWareNumber/{skuId}")
    RespBean getSkuWareNumber(@PathVariable Long skuId);
}
